<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:th="http://www.thymeleaf.org">

<div class='pagin' th:fragment="frag (pageInfo,url)">
    <div class='message'>共<i th:text="${pageInfo.total}" class='blue'></i>条记录，当前显示第&nbsp;<i
            th:text="${pageInfo.pageNum}" class='blue'></i>&nbsp;页
    </div>
    <ul class='paginList'>
        <li class='paginItem'>
            <a th:href="@{''+${url}(page=${pageInfo.prePage})}">
        &lt;&lt;</a></li>
        <li class='paginItem'><a
                th:href="@{''+${url}(page=${pageInfo.prePage})}"
                th:if="${pageInfo.hasPreviousPage }">&lt;</a></li>
        <meta th:each="page,iterStat : ${pageInfo.navigatepageNums}">
        <li class='paginItem current' th:if="${pageInfo.pageNum}==${page}">
            <a th:href="@{''+${url}(page=${page})}"
               th:text="${page}"></a></li>
        <li class='paginItem' th:if="${pageInfo.pageNum}!=${page}">
            <a th:href="@{''+${url}(page=${page})}"
               th:text="${page}"></a></li>
        </meta >
        <li class='paginItem'><a
                th:href="@{''+${url}(page=${pageInfo.prePage})}"
                th:if="${pageInfo.hasNextPage  }">&gt;</a></li>
        <li class='paginItem'><a
                th:href="@{''+${url}(page=${pageInfo.lastPage})}">
            >&gt;</a>
        </li>
    </ul>
</div>


</html>